package util.toolkit;

/**
 * 用于存储系统中用到的常量
 * @author 徐震霖
 *
 */
public class Constant {
	
	public static final int ALREADY_SENT = 1001;   //已发
	
	public static final int WAIT_SENDING = 1002;   //待发
	
	public static final int AGREE = 1001;         //同意

	public static final int DIS_AGREE = 1002;     //不同意

	public static final int ALREADY_HANDLED = 1001;  //已处理

	public static final int UNTREATED =  1002;      //未处理

	public static final int ALREADY_READ = 1003;  //已阅
	
	public static final String ENABLE = "启用";      //启用

	public static final String DISENABLE = "停用";   //停用

	public static final int ISPUBLIC=1001;    //公开

	public static final int NOPUBLIC=1002;    //不公开

	public static final int NORMAL=1001;    //普通

	public static final int DANGER=1002;    //紧急

	public static final int  IMPORTDANGER=1003;    //非常重要

	public static final int  NOTICE=1001;    //通知

	public static final int  NEWS=1002;    //新闻

	public static final int  ARTICLE=1003;    //文章

	//不要2018-12-06
	//public static final int PARENT=17;      //家长
	//不要2018-12-06
	//public static final int TEACHER=18;      //教师

	public static final String RESTATUS_STRING="已阅";  //评论状态
	
	public static final String STAR_TIME_STRING = "2015-09-01";//开始时间
	
	/** 2018-12-06添加*/
	public static final int PARENT = 10001; //家长
	
	public static final int TEACHER = 10002; //教师
	
	public static final int SUPERADMIN = 10003; //超级管理员
	
	/** 后台用户状态；2018/12/11*/
	public static final int ADMINUSERTRUE = 1001;
	
	public static final int ADMINUSERFALSE = 1002;
	
	/** 1/4 19:18添加(djf)；2019-1-7 徐震霖修改 */
	public static final String STARTPASSWORD = "959080a7b579e9d8ed7b5709bb161341";   //添加用户的初始密码
	
	/** 2019-1-4徐震霖添加；本地电脑服务器的绝对路径D:\\tomcatupload\\、外网服务器的绝对路径/data/kmsximages */	
	public static final String SERVERPATH = "/data/kmsximages/";
	//public static final String SERVERPATH = "D:\\tomcatupload\\";
	
	/** 2019-1-4徐震霖添加；本地电脑服务器的虚拟路径/upload/、外网服务器的虚拟路径/kmsximgs/ */	
	public static final String FICTITIOUSPATH = "/kmsximgs/";
	//public static final String FICTITIOUSPATH = "/upload/";
	
	/** 2019-01-14 徐震霖添加；Linux操作系统表示符 */
	public static final String LINUX = "linux";
	
	/** 2019-01-14 徐震霖添加；wiodows操作系统表示符 */
	public static final String WINDOW = "windows";
	
	/** 2019-1-7徐震霖添加；加密时的加密键*/
	public static final String ENCRYPTION_KEY = "sixianxilijiankang";
	
	/** 2019-02-21徐震霖添加；用于字符创分割符（主要用于题目选项添加时分割选项）*/ 
	public static final String STRING_SPLIT = "&";
	
	/** 2019-02-21徐震霖添加 ； 用于字符串分割符（主要是题目添加时每个选项的内容分割）*/
	public static final String STRING_SPLIT_OPTION = ",";
	
	/** 2019-03-01 徐震霖添加；用以日志管理的查询操作 **/
	public static final String OPERTATION_QUERY = "query";
	
	/** 2019-03-01 徐震霖添加；用以日志管理的删除操作**/
	public static final String OPERTATION_DELETE = "delete";
	
	/** 2019-03-01 徐震霖添加；用以日志管理的更新操作**/
	public static final String OPERTATION_UPDATE = "update";
	
	/** 2019-03-01 徐震霖添加；用以日志管理的添加操作**/
	public static final String OPERTATION_ADD = "add";
	
	/** 2019-03-19 徐震霖添加；用于量表添加时解释这属于后台添加的量表 **/
	public static final String BACK_PAPER = "back_paper";
	
	/** 2019-03-19 徐震霖添加；用于量表添加时解释这属于大众端用户自己添加的量表 **/
	public static final String FRONT_PAPER = "front_paper";
	
}
